package com.haibara.codesubmiteval.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.haibara.codesubmiteval.common.DeleteRequest;
import com.haibara.codesubmiteval.model.dto.questionCase.QuestionCaseAddRequest;
import com.haibara.codesubmiteval.model.dto.questionCase.QuestionCaseEditRequest;
import com.haibara.codesubmiteval.model.dto.questionCase.QuestionCaseQueryRequest;
import com.haibara.codesubmiteval.model.entity.QuestionCase;

import java.util.List;

/**
 * @Author: mengyu
 * @Date: 2025/2/1
 */
public interface QuestionCaseService extends IService<QuestionCase> {
    List<QuestionCase> getQuestionCase(Long id);

    void addQuestionCase(QuestionCaseAddRequest questionCaseAddRequest);

    void updateQuestionCase(QuestionCaseEditRequest questionCaseEditRequest);

    void deleteQuestionCase(DeleteRequest deleteRequest);

    Page<QuestionCase> pageQuestionCase(QuestionCaseQueryRequest questionCaseQueryRequest);
}
